﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace BibMan.model.database.Referencer {

    
    [Serializable]
    [XmlType("tag")]
    public class JabTag : JabRefItem {

        [XmlElement("name")]
        public String Name { get; set; }
        [XmlElement("uid")]
        public int Id { get; set; }

        public JabTag() { }

        public JabTag(String name, int id) {
            this.Name = name;
            this.Id = id;
        }

        public override String ToString() {
            return String.Format("{0}: {1}", Name, Id);
        }

        public Pin ToPin() {
            return new Pin();
        }
    }
}
